<!-- 基础信息 -->
<template>
  <el-col :span="24">
    <el-form label-width="140px" :rules="rules">
      <el-form-item :label="$t('cnShangPinXiangQing') + '：'">
        <Tinymce v-model="content" />
      </el-form-item>
    </el-form>

  </el-col>
</template>
<script>
const reg = /^[^\u4e00-\u9fa5]+$/
import Tinymce from '@/components/Tinymce/index'
export default {
  components: { Tinymce },
  data() {
    return {
      content: '',
      rules: {
        content: [
          { required: true, message: '请输入商品详情', trigger: 'blur' },
          { trigger: ['blur', 'change'], message: this.$t('buNengBaoHanZhongWen'), pattern: reg }
        ]
      }
    }
  }
}
</script>
<style scoped lang='scss'>

</style>
